package com.huidu.bitrade.hdwallet.data;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CallbackData {

    //交易Id
    private String txId ;
    //交易流水号
    private String tradeId ;
    private String fromAddress ;
    private String toAddress;
    private String chainName;
    private String coinName;
    //合约地址
    private String mainCoinType;
    //合约地址
    private String coinType;
    //交易金额
    private BigDecimal amount ;
    //交易类型  1充值 2提现
    private int tradeType ;
    //交易状态 1成功 2失败
    private int status ;
    private int decimals;
    //错误信息
    private String error;
    //元数据
    private String meta;
}
